<template>
	<view class="mylogin">
		<image objectFit="fill" class="bj-show" :src="imgSrc"></image>
	</view>
</template>

<script>
	export default {
		name:"myLogin",
		data() {
			return {

			}
		},
		props:{
			imgSrc:{
				type:String,
				default:''
			}
		},
		created(){
			this.getWindowHeight()
		},
		methods:{
				getWindowHeight(){
					let sysInfo = uni.getSystemInfoSync()
					console.log(sysInfo)
					this.imgHegith = 'height:' + sysInfo.windowHeight + 'px'
				}
		}
	}
</script>

<style>
.bj-show{
	width: 100%;
}
.mylogin image{
    width: 15rem;
    height: 3rem;
    padding: 32px 0 0 26px;
}
</style>